# -*- coding: utf-8 -*-
"""
Created on Mon May 20 17:35:30 2019

@author: Administrator
"""

# 1011 A+B 和C
# 给定区间[-2^31, 2^31]内的3个整数A、B和C，请判断A+B>?C
# 输入：
# T:测试用例个数
# A B C
# 输出：
# 如果A + B > C，输出 Case #x: true
"""
def test():
    number = int(input())
    result = []
    for i in range(number):
        data = str(input()).split(' ')
        if int(data[0]) + int(data[1]) > int(data[2]):
            result.append(True)
        else:
            result.append(False)
    
    for j in range(number):
        if result[j] == True:
            print("Case #%d: true" % (j+1))
        else:
            print("Case #%d: false" % (j+1))
        
test()
"""
